﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shmp_styles="clr-namespace:SharpMap.Styles;assembly=SharpMap"
  	xmlns:reflect="clr-namespace:System.Reflection;assembly=mscorlib"
    xmlns:local="clr-namespace:SharpMap.Presentation.Wpf">
    <Style TargetType="{x:Type local:StyleEntriesList}" >
        <Setter Property="Template">
            <Setter.Value>
           <ControlTemplate TargetType="{x:Type local:StyleEntriesList}" >
        <Border BorderThickness="{TemplateBinding Border.BorderThickness}" 
                Padding="{TemplateBinding Control.Padding}" 
                BorderBrush="{TemplateBinding Border.BorderBrush}" 
                Background="{TemplateBinding Panel.Background}" SnapsToDevicePixels="True">
            <ItemsPresenter SnapsToDevicePixels="{TemplateBinding UIElement.SnapsToDevicePixels}" />
        </Border>
        </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
</ResourceDictionary>